Do not override the caller's wishes regarding waiting for smp function
call completion. I was being too conservative in this respect: the lock
protects the call_data structure, and the function called is expected to
be threadsafe.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %E0%1E%08%CAb%9BO%15H%28%B0%97jX%DF%87gU%8A%EC
call_data.func = func;
call_data.info = info;
call_data.wait = wait;
- call_data.wait = 1; /* Until we get RCU around call_data. */
atomic_set(&call_data.started, 0);
atomic_set(&call_data.finished, 0);
mb();